#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
    unsigned int a,b,c;
    cin>>a>>b>>c;
    
    cout<<"Sum is "<< (a+b+c)<<endl;
    cout<<"Average is "<<fixed<<setprecision(1)<< (a+b+c)/3.0<<endl;
    cout<<"Product is "<< a*b*c<<endl;
    cout<<"Smallest is "<<(min(a,b)<c ? min(a,b) : c) <<endl;
    cout<<"Largest is "<<( max(a,b)<c ? c : max(a,b));
}